package com.dinian.demeter.mapper;

import com.dinian.demeter.domain.Role;
import java.util.Set;

public interface RoleMapper {

    Set<Role> queryRoleByUserId(Long userId);

    Role queryRoleById(Long roleId);

    int insertRole(Role role);

    void deleteRoleById(Long roleId);

    void updateRole(Role role);
}
